<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width,initial-scale=1">
	<title>登录/注册</title>
	<link rel="stylesheet" href="css/auth.css"/>
	<style>
	.file {
	    position: relative;
	    display: inline-block;
	    background: #D0EEFF;
	    border: 1px solid #99D3F5;
	    border-radius: 4px;
	    padding: 4px 12px;
	    overflow: hidden;
	    color: #1E88C7;
	    text-decoration: none;
	    text-indent: 0;
	    line-height: 20px;
	}
.file input {
    position: absolute;
    font-size: 100px;
    right: 0;
    top: 0;
    opacity: 0;
	}
.file:hover {
    background: #AADFFD;
    border-color: #78C3F3;
    color: #004974;
    text-decoration: none;
	}
		
	</style>
</head>

<body>
	<div class="lowin">
		<div class="lowin-brand">
			<img src="img/kodinger.jpg" alt="logo" >
		</div>
		<div class="lowin-wrapper">
			<div class="lowin-box lowin-login">
				<div class="lowin-box-inner">
					 <form action="${pageContext.request.contextPath}/AdminServlet" method="post">
					       <%-- <p><img src="assets/images/lunbo4.jpg" height="50px" width="50px" style="border-radius: 50%;"/>
							<a href="javascript:;" class="file" style="margin-top: -20px;">选择文件
							<input type="file" name="myFile" id="myFile" value=""/>
							</a></p> --%>
						<input type="hidden" name="op" value="login_register"">	
						<p>Sign in to DoCoMusic</p>
						<div class="lowin-group">
							<label>管理员<a href="#" class="login-back-link">Sign in?</a></label>
							<input type="text" autocomplete="admin_name" name="admin_name" class="lowin-input" style="border: solid 1px;" placeholder="请输入管理员名">
						</div>
						<div class="lowin-group password-group">
							<label>密码 <a href="#" class="forgot-link"></a></label>
							<input type="password" name="admin_pwd" autocomplete="current-pwd" class="lowin-input" style="border: solid 1px;" placeholder="请输入密码">
						</div>
						<button class="lowin-btn login-btn" type="submin" href="#">
							登录
						</button>
						<!-- <div class="text-foot">
							还没有账号? <a href="" class="register-link">注册一下</a>
						</div> -->
					</form>
				</div>
			</div>

			<!-- <div class="lowin-box lowin-register">
				<div class="lowin-box-inner">
					<form>
							<p><img src="assets/images/lunbo4.jpg" height="50px" width="50px" style="border-radius: 50%;"/>
							<a href="javascript:;" class="file" style="margin-top: -20px;">选择文件
							<input type="file" name="myFile" id="myFile" value=""/>
							</a></p>
							
						<p>创建新用户</p>
						<div class="lowin-group">
							<label>管理员名</label>
							<input type="text" name="admin_name" autocomplete="admin_name" class="lowin-input" style="border: solid 1px;" placeholder="请输入手机号码">
						</div>
						<div class="lowin-group">
							<label>Email</label>
							<input type="email" autocomplete="email" name="email" class="lowin-input" style="border: solid 1px;">
						</div>
						<div class="lowin-group">
							<label>密码</label>
							<input type="password" name="password" autocomplete="current-password" class="lowin-input" style="border: solid 1px;" placeholder="请设置密码">
						</div>
							<div class="lowin-group password-group">
							<label>验证码 <a href="#" class="forgot-link"></a></label>
							<input type="password" name="password" autocomplete="current-password" class="lowin-input2" style="border: solid 1px;" placeholder="请输入密码" style="width: 10px;">
							<input type="button" name="" id="" value="发送验证码" class="lowin-btn2"/>
						</div>
						<button class="lowin-btn">
							注册
						</button>

						<div class="text-foot">
							已经有账号? <a href="" class="login-link">前往登录</a>
						</div>
					</form>
				</div>
			</div>
		</div> -->
	
		<footer class="lowin-footer">
			<span>豆咖音乐网 DoCoMusic</span>
		</footer>
	</div>

	<script src="${pageContext.request.contextPath}/back/js/jquery-1.7.2.min.js"></script>
	<script>
	
		$(document).ready(function(){
			var login_registerErrorMessage = "${param.login_registerErrorMessage}";
			if (login_registerErrorMessage!=""){
				alert("登入失败,请重登！")
			}
		})
	
	</script>
</body>
</html>